package com.lzy.constant;

/**
 * @author lyw
 * @Date 2023/2/3-上午11:38
 */
public class Constants {

  /**
   * 通用成功标识
   */
  public static final String SUCCESS = "0";

  /**
   * 通用失败标识
   */
  public static final String FAIL = "1";

  /**
   * 登录成功
   */
  public static final String LOGIN_SUCCESS = "Success";

  /**
   * 注销
   */
  public static final String LOGOUT = "Logout";

  /**
   * 注册
   */
  public static final String REGISTER = "Register";

  /**
   * 登录失败
   */
  public static final String LOGIN_FAIL = "Error";

  /**
   * 超级管理员
   */
  public static final String ADMIN = "admin";

  /**
   * 验证码有效期（分钟）
   */
  public static final Integer CAPTCHA_EXPIRATION = 2;
}
